import request from '../../../utils/request';

const postReq = {
  // 轮播图
  async getRotationStateImgtype(params) {
    const {data} = await request.get('/api/ZylRotation/getRotationStateImgtype', {params})
    return data
  },

  // 作品列表
  async getZylworksState(params) {
    const {data} = await request.get('/api/ZylWorks/getZylworksState', {params})
    return data
  },

  // 发布地址
  async getNavigationStateNavtype(params) {
    const {data} = await request.get('/api/Navigation/getNavigationStateNavtype', {params})
    return data
  },
}

export default postReq
